package com.github.pig.training.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author andrew
 * @since 2018-06-26
 */
@TableName("training_student_un_register")
public class TrainingStudentUnRegister extends Model<TrainingStudentUnRegister> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "fid", type = IdType.AUTO)
    private Integer fid;
    /**
     * 学员
     */
    @TableField("student_id")
    private Integer studentId;
    /**
     * 当前科目
     */
    @TableField("current_subject")
    private String currentSubject;
    /**
     * 教练
     */
    @TableField("coach_id")
    private Integer coachId;
    /**
     * 退学原因
     */
    @TableField("out_reason")
    private String outReason;
    /**
     * 是否退费
     */
    @TableField("is_return_money")
    private String isReturnMoney;
    /**
     * 退费金额
     */
    private Double money;
    /**
     * 备注
     */
    private String remark;
    /**
     * 状态
     */
    @TableField("biz_status")
    private String bizStatus;
    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;
    /**
     * 创建人
     */
    @TableField("create_user")
    private Integer createUser;
    /**
     * 修改时间
     */
    @TableField("update_time")
    private Date updateTime;
    /**
     * 修改人
     */
    @TableField("update_user")
    private Integer updateUser;
    /**
     * 删除
     */
    @TableField("del_flag")
    private String delFlag;


    public Integer getFid() {
        return fid;
    }

    public void setFid(Integer fid) {
        this.fid = fid;
    }

    public Integer getStudentId() {
        return studentId;
    }

    public void setStudentId(Integer studentId) {
        this.studentId = studentId;
    }

    public String getCurrentSubject() {
        return currentSubject;
    }

    public void setCurrentSubject(String currentSubject) {
        this.currentSubject = currentSubject;
    }

    public Integer getCoachId() {
        return coachId;
    }

    public void setCoachId(Integer coachId) {
        this.coachId = coachId;
    }

    public String getOutReason() {
        return outReason;
    }

    public void setOutReason(String outReason) {
        this.outReason = outReason;
    }

    public String getIsReturnMoney() {
        return isReturnMoney;
    }

    public void setIsReturnMoney(String isReturnMoney) {
        this.isReturnMoney = isReturnMoney;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getBizStatus() {
        return bizStatus;
    }

    public void setBizStatus(String bizStatus) {
        this.bizStatus = bizStatus;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Integer createUser) {
        this.createUser = createUser;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Integer updateUser) {
        this.updateUser = updateUser;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    protected Serializable pkVal() {
        return this.fid;
    }

    @Override
    public String toString() {
        return "TrainingStudentUnRegister{" +
        ", fid=" + fid +
        ", studentId=" + studentId +
        ", currentSubject=" + currentSubject +
        ", coachId=" + coachId +
        ", outReason=" + outReason +
        ", isReturnMoney=" + isReturnMoney +
        ", money=" + money +
        ", remark=" + remark +
        ", bizStatus=" + bizStatus +
        ", createTime=" + createTime +
        ", createUser=" + createUser +
        ", updateTime=" + updateTime +
        ", updateUser=" + updateUser +
        ", delFlag=" + delFlag +
        "}";
    }
}
